<template>
  <div id="app">
  <!--<ltnav :message="123" :islogin="true">-->
  <ltnav>
  </ltnav>
    <router-view></router-view>
  <ltfooter></ltfooter>
  

  </div>
</template>

<script>
import axios from 'axios'
import ltnav from './ltnav.vue'
import ltfooter from './ltfooter.vue'
import indexcon from './indexcon.vue'


export default {
  name: 'app',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App',
      dialogVisible: true,
      activeNames: ['1'],
        showDialog: true,
        cond1: true
    }
  },
  methods: {
    open() {
        this.$alert('这是一段内容', '标题名称', {
          confirmButtonText: '确定',
          callback: action => {
            this.$message({
              type: 'info',
              message: `action: ${ action }`
            });
          }
        });
    },      beforeCloseHandler: function (done) {
        if (this.cond1 && this.cond2) {
            console.log('hit close');
            done();
        } else {
            console.log('rejected close');
        }
      }
  },
  components: {
    ltnav,
    indexcon,
    ltfooter
  }
}
</script>

<style>
#app {
}

body {
  margin:0;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}

.el-menu--horizontal .el-menu-item a, .el-menu--horizontal .el-menu-item a:hover {
  text-decoration: none;
}
</style>
